<template>
  <div class="contain">
    <hr>
    <div class="drive">
      <div class="title">2024小车理论考试</div>
    </div>
    <div class="content">
      <div class="left">
        <DrivingTestSlot>科目一交规</DrivingTestSlot>
      </div>
      <div class="right">
        <DrivingTestSlot>科目四安全文明驾驶</DrivingTestSlot>
      </div>
    </div>
    <img
      src="https://www.jiakaobaodian.com/core-assets/static/images/common/banner-jxb.png"
      alt=""
    />
  </div>
</template>

<script>
import DrivingTestSlot from "@/components/DrivingTestSlot.vue";

export default {
  name: "CarText",
  components: {
    DrivingTestSlot,
  },
};
</script>

<style scoped>
.contain {
  padding: 80px 10%;
  width: 100%;
  height: 665px;
}
.title {
  width: 340px;
  display: inline-block;
  line-height: 41px;
  /* margin: 0 auto; */
  text-align: center;
  font-size: 30px;
  color: #333;
  background-color: #fff;
}
.drive {
  display: flex;
  justify-content: center;
}
hr {
  margin-bottom: -20px;
  height: 1px;
  border-top: 1px dotted #e9e9e9;
}
.content {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
}

.left,
.right {
  width: 575px;
  height: 370px;
  border: 1px solid #e9e9e9;
}
.contain img {
  margin-top: 30px;
  width: 100%;
  height: 120px;
  cursor: pointer;
}
</style>